﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;

namespace HenuAlbum.Models
{
    /// <summary>
    /// 个人相册
    /// <para>注意，AccountController.UpdateStudentInfo 使用了与该类相关的SQL语句，请修改本类后检查此接口。</para>
    /// </summary>
    public class PersonalAlbum : Album
    {
        public int ClassId { get; set; }

        public Class Class { get; set; }

        /// <summary>
        /// 审核状态
        /// </summary>
        [Required]
        public ReviewState ReviewState { get; set; } = ReviewState.Unreviewed;
    }
}
